package month3.day29;

public class Feiji {
    private int zizhong;
    private int feixnggaodu;

    public Feiji(int zizhong, int feixnggaodu) {
        this.zizhong = zizhong;
        this.feixnggaodu = feixnggaodu;
    }

    public int getZizhong() {
        return zizhong;
    }

    public void setZizhong(int zizhong) {
        this.zizhong = zizhong;
    }

    public int getFeixnggaodu() {
        return feixnggaodu;
    }

    public void setFeixnggaodu(int feixnggaodu) {
        this.feixnggaodu = feixnggaodu;
    }
    public void show(){
        System.out.print("自重："+zizhong+"，飞行高度："+feixnggaodu);
    }


    public void qifei(){
        System.out.println("起飞");
    }
    public void jiasu(){
        System.out.println("加速");
    }
    public void jiangluo(){
        System.out.println("降落");
    }
}
